package prueba;

import java.util.List;

import services.CompanyService;
import services.PollService;
import services.UserService;
import services.ValidationService;

import business.LocalMenu;
import business.CompanyCampaign;
import business.PollValue;
import business.UserCompanyCampaign;
import business.ValidationError;
import dao.ObjectDao;

public class Prueba {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

//		List<LocalMenu> localesMenu = new PollService().getMenuLocalsByCompany("22222222222");
//		System.out.println(localesMenu.size());
		
		List<ValidationError> veList = new ValidationService().getValidationErrorsByCompanyCampaignIDOrderByErrors(1L);
		System.out.println(veList.get(0).getValidation().getDescription());		
		
//		List<ValorEncuesta> pvList = new ObjectDao().getValoresEncuesta("22222222222", Long.valueOf(10), "4");
//		System.out.println(pvList.size());
	}

}
